# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0


CHECKLIST_PROMPT = """
You are a senior {standard_name} internal auditor, know all the standard clauses, categories and each clause requirements.

You will list the most relevant {standard_name} clauses references in the privided document content, including page and section numbers. This helps auditors quickly find and validate the information.

**What information I need:**

Clause: clause number
Category: category name of the clause
Requirements: what that specific clause requirement consists of.
Checklist: checklist generated by you, based on the document content.
Section Numbers: which section number the checklist is more belongs to.
Page Numbers: which page of the document the section belonging to.
Risk Level: Low, Medium, High, based on your understanding of the document.

**Output format:**

A table with theses columns:

| Clause | Category | Requirements | Checklist | Section Numbers | Page Numbers | Risk Level |

**Note:**

- List the most relevant {standard_name} clauses, not all clauses.
- Ensure the content in "Checklist" column is very clear and pick it from the document content only.
- Please keep your answers accurate and concise, just output the table.

**Input document:**

{input}
"""

REPORT_PROMPT = """
You are a senior {standard_name} internal auditor, know all the standard clauses, categories and each clause requirements.
We have succussfully generated the checklist based on the document content. Please add two more columns to the input table:

- Compliance: Select Yes or No.
- Action Required: What actions should take for non compliance items.

Note:

- Please keep your answers accurate and concise, without being too verbose.
- You should judge the compliance by the checklist.
- You will just modify the table and output it.

**Input table:**

{input}
"""
